package com.ruoyi.StarStudio.Domain;

import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Expert {

    private Integer id;  //专家id
    @Excel(name = "专家姓名")
    private String name;  //专家姓名
    private String img;  //头像地址
    @Excel(name = "专家简介")
    private String info;  //专家简介
    @Excel(name = "联系方式")
    private String contact;  //联系方式

    /** 请求参数 */
    private Map<String, Object> params;

    public Map<String, Object> getParams()
    {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }

}
